package com.itheima.homework6;

public class Coder extends Worker {
    public Coder() {
    }

    public Coder(String name, String id, double salary) {
        super(name, id, salary);
    }

    public  void work(){
         System.out.println(getName()+",工号为："+getId()+",工资为"+getSalary()+",的程序员正在编写代码");
     }
}
